<!--
<div class="nodate font20 top150">
  <span class="pointer dayHover padding10 border-radius5" {{action "editCustomer" on="click"}}>
    先选择老人呦！
    <img src="assets/images/icon/customer_c.png" alt="选择老人" style="height:35px">
  </span>
</div>

{{#if editcustomer}}
{{#bs-modal body=false footer=false header=false closedAction=(action "exitCustomer")}}

{{#bs-modal-body}}
  <div class="col-sm-12">
    <div class="col-sm-12">
      <div class="col-sm-6 nopadding-left nopadding-right" style="line-height:30px;font-size:13px;">
        {{#power-select class="input-group-content" placeholder='姓名' options=customerList  selected=customer searchField="namePinyin"
        noMatchesMessage="没有相关内容"	allowClear=false onchange=(action "chooseCustomer" ) as |customer|}}
          {{customer.name}}
        {{/power-select}}
      </div>
    </div>
  </div>
{{/bs-modal-body}}
{{#bs-modal-footer class="user-add-btn"}}
{{#ui/mix-button class="user-btn edit-btn" iconClass="fa fa-save"  text='确定' clickAction="confirm" confirm="confirm" }}
{{/ui/mix-button}}
{{#ui/mix-button class="user-btn times-btn" iconClass="fa fa-undo"  text='取消' clickAction="exitCustomer" exitCustomer="exitCustomer"}}
{{/ui/mix-button}}
{{/bs-modal-footer}}
{{/bs-modal}}
{{/if}} -->



    <!--pc端-->
    <div class="col-sm-12">
        <div class="box">
            <!-- BOX-BODY -->
            <div class="box-body">
                <div class="row clearfix" style="margin-bottom:15px">
                    <div class="col-sm-4">
                        <div class="pull-left">
                            <div class="input-group bottom8">
                                {{input class="form-control" type="text" placeholder="搜索姓名/房间/床位号" value=queryCondition enter="search"}}
                                <!-- <input class="form-control" type="text" placeholder="搜索姓名/房间号/护工姓名"> -->
                                <span class="input-group-btn">
                <button class="btn btn-primary btn-reduce" type="button" style="touch-action: manipulation; -ms-touch-action: manipulation;" {{action "search" on="click"}}>
                  <i class="fa fa-search"></i>
                </button>
              </span>
                            </div>
                        </div>
                        <!--搜索-->
                    </div>
                </div>
                <!-- 列表式 -->
                <div class="clearfix">
                    <div class="row">
                      <div class="col-sm-12">
                          <div class="box-body">
                          <div id="datatable1_wrapper" class="dataTables_wrapper form-inline" role="grid">
                            <table id="datatable1" cellpadding="0" cellspacing="0" border="0"  class="datatable table table-bordered table-hover dataTable mt15" aria-describedby="datatable1_info">
                              <thead>
                                <tr role="row">
                                  <th rowspan="1" colspan="1" width="">姓名</th>
                                  <th rowspan="1" colspan="1" width="">性别</th>
                                  <th rowspan="1" colspan="1" width="">年龄</th>
                                  <th rowspan="1" colspan="1" width="">房间/床位号</th>
                                  <th rowspan="1" colspan="1" width="">是否设置活动计划</th>
                                  <th rowspan="1" colspan="1" width="">是否设置活动套餐</th>
                                </tr>
                              </thead>
                              {{#if customerList}}
                            <tbody role="alert" aria-live="polite" aria-relevant="all" class="">
                                {{#each customerList as |customer|}}
                                <tr class="gradeA odd" {{action "confirm" customer on="click"}}>
                                  <td class=" ellipsis sorting_1">{{customer.name}}</td>
                                  <td class=" ellipsis ">{{customer.sex.typename}}</td>
                                  <td class=" ellipsis ">{{customer.age}}</td>
                                  <td class=" ellipsis ">{{customer.realBed.allBedName}}</td>
                                  <td class=" ellipsis ">{{customer.flagRemarkObj.model}}</td>
                                  <td class=" ellipsis ">{{customer.flagRemarkObj.project}}</td>
                            	  </tr>
                                {{/each}}
                             </tbody>

                             {{else}}
                             {{/if}}
                              </table>
                              {{#if customerList }}
                                  {{page-numbers content=customerList showFL=true numPagesToShow=5 memoryPage="memoryPage"}}
                                  {{else}}
                                      <h1 class="col-sm-12 center unTask"></h1>
                              {{/if}}
                            </div>
                          </div>
                        <!-- /BOX -->
                      </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
